﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;
using log4net.Core;

namespace Harkon.AppServer.cOne.Logging
{
    public static class CustomLogging
    {
        public static void TRACE(this log4net.ILog logger, Type caller, string traceMessage)
        {
            Level TRACE = logger.Logger.Repository.LevelMap["TRACE"];
            logger.Logger.Log(caller, TRACE, traceMessage, null);
        }
    }
}
